<template>
	<view class="page">
		<view>
			<view class="cont">
				<view v-html="agreeMent.agreementText"></view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				agreeMent:{}
			}
		},
		onShow() {
			this.getData()
		},
		methods: {
			// 获取数据
			getData(){
				this.$request.api.getAgreement({
					id:16
				}).then(res =>{
					console.log(res.data.data)
					this.agreeMent = res.data.data.agreeMent
				})
			}
		}
	}
</script>

<style lang="scss">
.page{
	margin-top: 20rpx;
	background-color: #FFFFFF;
	width: 100vw;
	height: 100vh;
	padding: 0 34rpx;
	.title{
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		padding-top: 68rpx;
		margin-bottom: 20rpx;
		text-align: center;
	}
	.cont{
		font-size: 28rpx;
		font-weight: 500;
		color: #666666;
		// text-indent: 65rpx;		
		line-height: 42rpx;
	}
}
</style>
